﻿@using WXY.Course.Model;

@model IList<ResourceInfo>
@{
    ViewBag.Title = "List";
    Layout = null;
}

<ul>
    @if (Model != null)
    {
        foreach (var item in Model)
        {
            <li>@Html.ActionLink(Html.CutStrInDBCCase(item.Title, 20, "..."), "Detail", "Resource", new { id = item.Code }, new { title = item.Title })</li>
        }
    }
</ul>
